﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
    public class ClsDuLieuMauInfo
    {
        private string maGK;
        private string maMau;
        private string tenMau;
        private float chieuSauLayMau;
        private DateTime thoiGianLayMau;
        private float theTichMau;
        private string kieuLoDungMau;
        public string MaGK
        {
            get { return this.maGK; }
            set
            {
                if (value == null)
                    throw new Exception("maGK not allow nullvalue.");
                this.maGK = value;
            }
        }
        public string MaMau
        {
            get { return this.maMau; }
            set
            {
                if (value == null)
                    throw new Exception("maMau not allow nullvalue.");
                this.maMau = value;
            }
        }
        public string TenMau
        {
            get { return this.tenMau; }
            set { this.tenMau = value; }
        }
        public float ChieuSauLayMau
        {
            get { return this.chieuSauLayMau; }
            set { this.chieuSauLayMau = value; }
        }
        public DateTime ThoiGianLayMau
        {
            get { return this.thoiGianLayMau; }
            set { this.thoiGianLayMau = value; }
        }
        public float TheTichMau
        {
            get { return this.theTichMau; }
            set { this.theTichMau = value; }
        }
        public string KieuLoDungMau
        {
            get { return this.kieuLoDungMau; }
            set
            {
                this.kieuLoDungMau = value;
            }
        }
        string maTinh;
        public string MaTinh { get { return maTinh; } set { maTinh = value; } }
    }
}
